basic Motif-based GLX example programs glwidget: basic GL widget demonstrates: - tieing an object to the movement of the mouse glwidget2: GL widget and a work procedure demonstrates: - automatic animation of a cube - a Stop(/Start) button widget gloverlay: another overlay planes program extended from glwidget2. demonstrates: - drawing a red grid in the overlay planes - rotating a rainbox cube in the standard planes via a rotate button widget cmapov: demos overlay planes usage--press LEFTMOUSE to move the bottom row of cubes (normal planes) so they are under the top row of cubes (overlay planes). demonstrates: - using custom colormaps for the normal and overlay buffers - moving things with the mouse pick: mixed model program implementing GL picking kbecho: keyboard events echoed-to-stdout program automatically gets keyboard events when the cursor is over it the window. You don't need to click in the window or tab to it, though it can be setup this way. demonstrates: - how to get continuous pointer motion events for a gl widget - how to get keyboard events for a gl widget in a widget heirarchy - how to map most keyboard keys to an appropriate string representation kbexpl: keyboard events echoed-to-stdout program that follows the correct motif style guide of forcing the user to click in the gl widget with LEFTMOUSE for it to get keyboard focus. Tab keys will be lost though as motif uses these to move from tab group to tab group. demonstrates: - how to get continuous pointer motion events for a gl widget - how to get keyboard events for a gl widget in a widget heirarchy - how to map most keyboard keys to an appropriate string representation macx: implementation of a hypothetical x server running on a mac which happens to support a 24 bit TrueColor visual demonstrates: - multiple server connections - placing apps in non-default visuals - workprocs - working with XImages
Source
Documentation
Reference